/* LoginModal.module.css */
.modalMask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modalContent {
    width: 700px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modalHeader {
    padding: 32px 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.logo {
    width: 320px;
    height: 80px;
    object-fit: contain;
}

.siteTitle {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
}

.subTitle {
    font-size: 16px;
    margin: 8px 0 0;
    opacity: 0.9;
}

.closeIcon {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.closeIcon:hover {
    transform: rotate(90deg) scale(1.1);
}

.mainContent {
    padding: 32px 40px;
}

.loginTitle {
    text-align: center;
    color: #333;
    font-size: 20px;
    margin: 0 0 32px;
    font-weight: 300;
}

.loginMethods {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.methodItem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loginButton {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: none;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loginButton:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.wechat {
    background: #07C160;
}

.qq {
    background: #1890FF;
}

.phone {
    background: #FF7D04;
}

.buttonIcon {
    color: white;
    font-size: 50px;
}

.buttonLabel {
    margin-top: 16px;
    font-size: 15px;
    color: #333;
    text-align: center;
}

.lastLogin {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.recommendTag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF4D4F;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.agreement {
    text-align: center;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.link {
    color: #1890FF;
    text-decoration: none;
    transition: all 0.2s;
}

.link:hover {
    color: #096DD9;
    text-decoration: underline;
}